//
//  SEGEncryptRule.h
//  UhomebkSDK
//
//  Created by wangmm on 2019/3/19.
//  Copyright © 2019年 wangmm. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef struct _util {
    NSString * (*getxxx)(void);
    NSString * (*handleString)(NSString *string);
}XXUtil_t;

#define XXUtil ([_XXUtil sharedUtil])

@interface _XXUtil : NSObject

+ (XXUtil_t *)sharedUtil;

@end

@interface SEGEncryptRule : NSObject

+ (NSString *)encryptByRsaWithString:(NSString *)string;

// 获取登录时头部需要的sign值
//+ (NSString *)encryptLoginByUsername:(NSString *)username Password:(NSString *)password andSecurityKey:(NSString *)securityKey andPublicKey:(NSString *)publicKey;

@end
